//
//  Tool.h
//  zhixinApp
//
//  Created by zhiguanzhl on 2017/11/15.
//  Copyright © 2017年 zhiguanzhl. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "YYReachability.h"

@interface Tool : NSObject

+ (UIImage*) imageWithUIView:(UIView*) view;
//获取头像的名字
+ (NSString *)getHeadNameWithArr:(NSArray *)arr withString:(NSString *)str;
//解归档获取头像的名字
+ (NSString *)unChiveWithString:(NSString *)str;
+ (NSString *)numberToStrWithNum:(NSNumber *)value;
//iOS 时间戳转换为字符串标准时间
+ (NSString *)timeWithTimeIntervalString:(NSString *)timeString;
+ (CGSize) boundingRectWithSize:(NSString*) txt Font:(UIFont*) font Size:(CGSize) size;
+ (BOOL)showNoNetwork:(UIViewController *)vc;
@end
